function goAddPage(){
	window.location.href = appServer + "/trade/entrust/add.htm";
}

function toRollbackList(){
	window.location.href = appServer + "/trade/entrust/list_rollback.htm";
}

function rollbackEntrust(entrustId){
	if(confirm("确定要取消挂售?")){
		window.location.href = appServer + "/trade/entrust/rollback/apply.htm?entrustId=" + entrustId;
	}
}

function cancelEntrust(entrustId) {
    if(confirm("确定撤单?")){
        window.location.href = appServer + "/trade/entrust/cancel/apply.htm?entrustId=" + entrustId;
    }
}